[R-SIG-Mac] Very long wait opening certain *.R files, Mac R 2.5.0

Matthew Keller mckellercran at gmail.com
Thu Jun 28 16:32:57 CEST 2007


Hi all,

I'm a recent convert, still trying to get used to this new OS. I use R
everyday for my work.

I have a new Intel MacBook Pro, and installed R 2.5.0. Using the GUI,
when I try to open a large *.R script (from File -> Open or by double
clicking the file), it takes about 1-2 minutes to open. The script is
about 3000 lines long and there are very long and nested loops in it.
Files that are shorter open increasingly quickly, so this behavior
seems to be a function of script length. Still, it takes a text editor
less than a second to open the 3000 lines long file.

Does anyone have any ideas on what might be causing this? Does the Mac
version of R run some kind of code automatically when script files are
opened? Thanks in advance...

Matt

> R.Version()
$platform
[1] "i386-apple-darwin8.9.1"

$arch
[1] "i386"

$os
[1] "darwin8.9.1"

$system
[1] "i386, darwin8.9.1"

$status
[1] ""

$major
[1] "2"

$minor
[1] "5.0"

$year
[1] "2007"

$month
[1] "04"

$day
[1] "23"

$`svn rev`
[1] "41293"

$language
[1] "R"

$version.string
[1] "R version 2.5.0 (2007-04-23)"


-- 
Matthew C Keller
Postdoctoral Fellow
Virginia Institute for Psychiatric and Behavioral Genetics



More information about the R-SIG-Mac mailing list