similar to: Comment blocks in R programs

Displaying 20 results from an estimated 30000 matches similar to: "Comment blocks in R programs"

2006 Nov 05
2
Date, date, POSIX question
I have been working with R extensively for several months. I switched from SAS and Matlab to R. My question is Can anyone explain the benefits and detractions of the 'Date' package verses the 'date' package and verses 'POSIX' dates. I have noticed several other packages use one or the other. Rmetrics seems to standardize on POSIX. I can only see differences in
2006 Oct 24
3
Help with understanding [[]] [] array, list, matrix referencing
Hi all, I would greatly appreciate some help understanding how R references arrays, matrices, lists, and objects using [[]] and []. I have read the R guides and several tutorials but I am not the fastest kid on the block so I am still having difficulty understanding this. For examples the following code produces a 5 element list of 2X5 random numbers that I then convert to a 2X5X5 matrix.
2006 Oct 16
3
Install RMySQL with R 2.4.0
I just installed RMySQL 0.5-9 with R 2.4.0 on Windows XP and got the following error message when trying to run a script with RMySQL: Error in library(RMySQL) : 'RMySQL' is not a valid package -- installed < 2.0.0? Any ideas? Thanks, Frank
2007 Feb 13
1
Unable to load RMySQL
Hi R users, I am unable to load RMySQL. The zip file is not available which I guess is needed to load this pakage. I also tried extracting the package from RMySQL_0.5-11.tar.gz and then pasted the package in the directory where R is loaded for which I am getting the following error message "Error in library(RMySQL) : 'RMySQL' is not a valid package -- installed <
2007 Nov 01
3
RPM Key in Readme file
The readme file on the cran website for linux EL5 contains the following RPMS for Red Hat Enterprise Linux created by Bob Kinney <rhel_cran at hmdc.harvard.edu>. The RPMS are signed with the following key available from pgp.mit.edu Type bits /keyID Date User ID pub 1024D/99B62126 2004/11/18 HMDC Linux Support <linux_support at latte.harvard.edu> I went ot pgp.mit.edu and
2014 Feb 26
1
FreeBSD/ZFS/S3FS usage and development questions
I've noticed that the samba-tool ntacl sysvolreset --use-s3fs command does not work on a ZFS filesystem on FreeBSD. It does work if sysvol is moved to a volume that is able to be mounted with the acls flag. I will reference a ticket I started with FreeNAS here: https://bugs.freenas.org/issues/4351 As of version 9.2.1.1 s3fs is now the default using the workaround known for FreeBSD.
2006 Sep 30
1
counting a sequence of charactors or numbers
I have the following sequence of characters. These could be integers as well. For this problem, only two values are valid. S S S S S S W W W W W W W W S S S S S S S S W W W W W W W W S S S S S S S S S S S S S W W W W W W W W W I need to determine the count of the classes/groups in sequence. as 6,8,8,8,13,9 where the sum of these equal my total observations. Any help is greatly appreciated.
2007 Dec 08
1
seq_len
In a post on R-devel, Prof Ripley add the following comment | > BTW, 1:dim(names)[1] is dangerous: it could be 1:0. That was the | > motivation for seq_len. I use the dim(names)[1] and dim(x)[2] along with length(x) with varying levels of frustration depending on the object which I am trying to get the dimensions. I found the reference to seq_len interesting since it is a function that
2006 Mar 07
6
Anybody use Red|Blue Cloth?
Does anybody use and prefer Redcloth (or bluecloth, which appears to be alpha)? Does it affect performance much? Is there a way to get it to automatically process templates without having to call textilize? Thanks, Joe -- Posted via http://www.ruby-forum.com/.
2007 Sep 27
2
rJava and RJDBC
I am desperate for help. I am trying to get the RJDBC and rJava .5to work on both my windows xp and linux Redhat EL5 Server. On both I get a ava.lang.ClassNotFoundException when calling JDBC(). My example is require(RJDBC) classPath='C:\\libraries\\mysql-connector-java-5.1.3-rc\\mysql-connector-java-5.1.3-rc-bin.jar' driverClass=c("com.mysql.jdbc.Driver") drv <-
2006 Jul 18
4
Limiting markdown/textile
I''m using RedCloth for a forum type app. I want users to have control over the look of their posts, but within limits. For example, I don''t want them to be able to include images or use header tags. The RedCloth documentation is pretty thin and I don''t feel it''s very explanatory. I''m wondering if there''s any easy way to do this? Or do I
2012 Jan 18
2
[LLVMdev] Best way to interface with MSVC _ftol2 runtime function for fptoui?
Hi everyone. On i386--win32 targets, LLVM tries to use the MSVCRT routine _ftol2 for floating-point to unsigned conversions, but this function has a nonstandard calling convention LLVM doesn't understand. It takes its input operand on the x87 stack as ST0, which it pops off of the stack before returning. The return value is given in EDX:EAX. In effect, I need to call it like this: %1 = call
2011 Dec 16
2
Disappointed
I have subscribed to this list for about a month now. I am just a MarkDown user; new to it. Using it within *Ema Personal Wiki & Epistle* for Android. I am not trying to implement this cool little light language into an app I am developing; maybe someday. I signed up because I thought I might get some MarkDown use tips. *I have learned nothing from this list.* I have witnessed a lot of
2011 Sep 29
0
[LLVMdev] Instrumenting C/C++ programs
Hello, What you're describing is basically the parsing and codegen portions of clang. I'd suggest reading through the code there and posting to clang-dev if you have any specific questions. The clang devs are more likely to see your questions there as not all of them also hang out here. Regards, Jim On Sep 28, 2011, at 8:28 PM, eyasu getahun <eya.get at gmail.com> wrote: >
2006 May 22
1
RQuantlib Array processing applying EuropeanOptionExampleArray
I am trying to replicate part of the EuropeanOptionExample using my date. I have a data.frame containing all my inputs atm.vols<-subset(data.vols,moneyness==min); #Some days have the abs(moneyness) exactly between two strike prices, #Traders will alway price an option at the higher vol when selling it, so we will too.
2012 Jan 19
0
[LLVMdev] Best way to interface with MSVC _ftol2 runtime function for fptoui?
On Jan 18, 2012, at 3:50 PM, Joe Groff wrote: > Hi everyone. On i386--win32 targets, LLVM tries to use the MSVCRT > routine _ftol2 for floating-point to unsigned conversions, but this > function has a nonstandard calling convention LLVM doesn't understand. > It takes its input operand on the x87 stack as ST0, which it pops off > of the stack before returning. The return value
2012 Oct 12
2
[LLVMdev] [Proposal] Annotated assembly output
Hi Sean, Thanks for the feedback! Exactly the sort of discussion I was hoping to get started. On Oct 12, 2012, at 10:12 AM, Sean Silva <silvas at purdue.edu> wrote: > How is the client supposed to make use of this markup information? Target-independent introspection of the assembly. A simple example is color-coded output in a GUI disassembly display. All registers show up one color,
2012 Oct 12
0
[LLVMdev] [Proposal] Annotated assembly output
Hi Jim, thanks for the response. That pretty much clears up my primary concern. +1 for keeping the C API small/stable/robust :) Having multiple hand-implemented parsers accepting the output, I think it would be wise to have an official "conformance suite" for the syntax so that external implementors can sleep more soundly with their implementation; if I were implementing a parser for
2012 Oct 12
0
[LLVMdev] [Proposal] Annotated assembly output
How is the client supposed to make use of this markup information? At first glance it seems like client code will just devolve into a pile of regex insanity. Why not use an existing standardized markup, like XML (not that I'm that fond of XML)? At a higher level, why not expose an API for iterating over (potentially annotated) tokens which can be programmatically inspected. So what you expose
2006 Apr 01
18
OT: iBook or MacBook Pro?
Well, the worm has turned and I think I may actually get an Apple ;P. But I can''t decide which one. Pros and cons: 14" iBook: + modem (for when broadband kicks out, or on the road and there''s no WIFI) + screen is probably big enough (though I currently have a 15" Dell) + doesn''t get as hot as the MacBook + almost half the cost + less likely to get stolen -