An embedded and charset-unspecified text was scrubbed... Name: not available Url: https://stat.ethz.ch/pipermail/r-help/attachments/20050804/3142a801/attachment.pl
Modifying the parameters for a function
4 messages · Philip Bermingham, Uwe Ligges, Roger D. Peng +1 more
Philip Bermingham wrote:
I have modified the parameters for a function (for my own use) in the stats package, but I assume I need to update the parameter set in another file as I'm getting the following error when I run R: The compile works fine so I assume there is a configuration file in the base package of R that needs modification. Error in parse(file, n, text, prompt) : syntax error on line 11102
No, you have introduced an error, obviously. Uwe Ligges
Error: unable to load R code in package 'stats'
During startup - Warning message:
package stats in options("defaultPackages") was not found
Philip.
[[alternative HTML version deleted]]
______________________________________________ R-help at 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
What exactly do you mean by "compile"? What compile works fine? -roger
Philip Bermingham wrote:
I have modified the parameters for a function (for my own use) in the
stats package, but I assume I need to update the parameter set in
another file as I'm getting the following error when I run R:
The compile works fine so I assume there is a configuration file in the
base package of R that needs modification.
Error in parse(file, n, text, prompt) : syntax error on line 11102
Error: unable to load R code in package 'stats'
During startup - Warning message:
package stats in options("defaultPackages") was not found
Philip.
[[alternative HTML version deleted]]
______________________________________________ R-help at 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
Roger D. Peng http://www.biostat.jhsph.edu/~rpeng/
Philip Bermingham wrote:
I have modified the parameters for a function (for my own use) in the stats package, but I assume I need to update the parameter set in another file as I'm getting the following error when I run R: The compile works fine so I assume there is a configuration file in the base package of R that needs modification. Error in parse(file, n, text, prompt) : syntax error on line 11102 Error: unable to load R code in package 'stats'
This means that you've introduced a syntax error when you did your edits. The line number information is fairly useless: R has concatenated all of the files together, you don't see the original line number. Your best strategy is to look at where you made changes. I'm hoping to improve the error reporting on parse errors in R 2.2, but time is flying by... Duncan Murdoch
During startup - Warning message:
package stats in options("defaultPackages") was not found
Philip.
[[alternative HTML version deleted]]
______________________________________________ R-help at 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