[R] Problems Creating an R package

From: Aarti Dahiya <aarti_dahiya_at_hotmail.com>
Date: Fri 30 Jun 2006 - 01:06:24 EST

Hi all,

When I check my package using "Rcmd check ..\myPackage\R.mykg" on Windows in Command Prompt, this is what get:-

Q1. What should I put in 'src'. I did put two of my source .R files, it still does not work.

Q2. This is what I get if I source R/ConnectionFactory.R. Error in parse(file, n = -1, NULL, "?") : syntax error at 5: }
6: , .env = <

These are the contents of R/ConnectionFactory.R.

"ConnectionFactory" <-

        extend(Object(), "ConnectionFactory")
, .env = <environment>, class = c("Class", "Object"), ...instanciationTime = structure(1151521420.604, class = c("POSIXt", "POSIXct")), formals = c("public", "class"), modifiers = c("public", "class")

Please note that this file is one that was automatically generated in R.mykg/R. My source file ConnectionFactory.R has the actual R code which sources just fine.

I will greatly appreciate any help! Thank you.


R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Jun 30 01:10:15 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 30 Jun 2006 - 02:12:39 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.