Re: [R] modify function in a package

2014-09-30 Thread C Lin
is called NanoStringNorm assignInNamespace('NanoStringNorm',NanoStringNorm,ns='NanoStringNorm') environment(NanoStringNorm)<-asNamespace('NanoStringNorm'); ---------------- > Subject: Re: [R] modify function in a package > From: dwinsem...@co

Re: [R] modify function in a package

2014-09-25 Thread David Winsemius
On Sep 25, 2014, at 11:21 AM, C Lin wrote: > Dear R users, > There is a package called NanoStringNorm with a function called > NanoStringNorm. > What I want to do is to change the NanoStringNorm function from the package > with my own copy that is written in my.nanostringnorm.R. > But if I do

[R] modify function in a package

2014-09-25 Thread C Lin
Dear R users,  There is a package called NanoStringNorm with a function called NanoStringNorm. What I want to do is to change the NanoStringNorm function from the package with my own copy that is written in my.nanostringnorm.R.  But if I do the following:  source('my.nanostringnorm.R") unlockBind